package slxy.jiangtao.dts.entity.business;

import slxy.jiangtao.dts.core.common.bean.BaseId;

import javax.persistence.*;

/**
 * Code must be sexy
 * Created by Jiang Tao on 2017/4/17.
 * 说明：任务完成表
 */
@Entity
@Table(name = "user_task_done", schema = "dts", catalog = "")
public class UserTaskDone extends BaseId {
    @Basic
    @Column(name = "user_id",nullable = false)
    private Integer userId;
    @Basic
    @Column(name = "task_id",nullable = false)
    private Integer taskId;
    @Basic
    @Column(name = "done_type")
    private Integer doneType;//(0:文字；1：摄影)

    @Basic
    @Column(name = "execute_time")
    private String executeTime;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Integer getDoneType() {
        return doneType;
    }

    public void setDoneType(Integer doneType) {
        this.doneType = doneType;
    }

    public String getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(String executeTime) {
        this.executeTime = executeTime;
    }
}
